package com.baifc.datasource;

import com.baifc.entity.Spitter;
import com.baifc.entity.Spittle;

import java.util.List;

/**
 * projectName: spring-in-action-web
 * packageName: com.baifc.datasource
 * Created: 2019/5/7.
 * Auther: baifc
 * Description:
 */

public interface SpittleRepository {
    List<Spittle> findSpittles(long max, int count);

    void save(Spitter spitter);
}
